
<?php 
// print_r($acos); 
?>

	<ul class="breadcrumb">
	  <li><a href="<?php echo $this->webroot;?>">Home</a> <span class="divider">/</span></li>
	  <li><a href="<?php echo $this->webroot;?>Profile"><?php echo __("Profilatura") ?></a> <span class="divider">/</span></li>
	  <li class="active"><?php echo __("Nuovo Permesso") ?></li>
	</ul>


	<div class="row-fluid">
    	<div class="span4">

    	</div>
    	<div class="span6">
			<form action="<?php echo $this->webroot;?>Profile/saveAllowDeny" method="post" id="form">
				
				<label><? echo __("Consenti / Nega")?></label>
				<select name="permesso">
				  <option value="allow">Consenti</option>
				  <option value="deny">Nega</option>
				</select>
 
				<label><? echo __("Gruppo")?></label>
				<select name="azione" multiple="multiple">
				  <option value="_create">Crea</option>
				  <option value="_read">Leggi</option>
				  <option value="_update">Aggiorna</option>
				  <option value="_delete">Cancella</option>
				</select>
				
				<label><? echo __("Gruppo / Utente")?></label>
				<select name='aro'>
					<option value=''></option>
					<?foreach ($aros as $key => $aro) {?>
				  			<option value='<? echo $key?>' ?><? echo $aro ?></option>
					<? } ?> 
				</select> 
			    <label><?php echo __("Aco") ?></label> 
				<select name='aco'>
					<option value=''></option>
					<?foreach ($acos as $key => $aco) {?>
				  			<option value='<? echo $key?>' ?><? echo $aco ?></option>
					<? } ?> 
				</select> 
				<p>
					<button type="submit" class="btn btn-primary"><i class='icon-ok'></i></button>
				</p>
			</form>
    	</div>
    	<div class="span2">

    	</div>
    </div>
